# Copyright (c) 2020 Gitpod GmbH. All rights reserved.
# Licensed under the GNU Affero General Public License (AGPL).
# See License-AGPL.txt in the project root for license information.

FROM alpine
RUN apk add ca-certificates && \
    adduser -S -D -H -h /app -u 1000 appuser
COPY components-blobserve--app/blobserve /app/blobserve
RUN chown -R appuser /app

USER appuser
ENTRYPOINT [ "/app/blobserve" ]
CMD [ "-v", "help" ]
